Package pl.wendigo.chrome.api.tracing

Contains DevTools Protocol Tracing domain implementation accessible via TracingDomain class.

Types

BufferUsageEvent
Link copied to clipboard
data class BufferUsageEvent(percentFull: Double?, eventCount: Double?, value: Double?) : Event
DataCollectedEvent
Link copied to clipboard
data class DataCollectedEvent(value: List<JsonElement>) : Event
Contains an bucket of collected trace events.
GetCategoriesResponse
Link copied to clipboard
data class GetCategoriesResponse(categories: List<String>)
Represents response frame that is returned from Tracing#getCategories operation call.
MemoryDumpConfig
Link copied to clipboard
typealias MemoryDumpConfig = Map<String, JsonElement>

Configuration for memory dump. Used only when &quot;memory-infra&quot; category is enabled.

MemoryDumpLevelOfDetail
Link copied to clipboard
enum MemoryDumpLevelOfDetail : Enum<MemoryDumpLevelOfDetail>
Details exposed when memory request explicitly declared.
RecordClockSyncMarkerRequest
Link copied to clipboard
data class RecordClockSyncMarkerRequest(syncId: String)
Represents request frame that can be used with Tracing#recordClockSyncMarker operation call.
RequestMemoryDumpRequest
Link copied to clipboard
data class RequestMemoryDumpRequest(deterministic: Boolean?, levelOfDetail: MemoryDumpLevelOfDetail?)
Represents request frame that can be used with Tracing#requestMemoryDump operation call.
RequestMemoryDumpResponse
Link copied to clipboard
data class RequestMemoryDumpResponse(dumpGuid: String, success: Boolean)
Represents response frame that is returned from Tracing#requestMemoryDump operation call.
StartRequest
Link copied to clipboard
data class StartRequest(categories: String?, options: String?, bufferUsageReportingInterval: Double?, transferMode: String?, streamFormat: StreamFormat?, streamCompression: StreamCompression?, traceConfig: TraceConfig?, perfettoConfig: String?)
Represents request frame that can be used with Tracing#start operation call.
StreamCompression
Link copied to clipboard
enum StreamCompression : Enum<StreamCompression>
Compression type to use for traces returned via streams.
StreamFormat
Link copied to clipboard
enum StreamFormat : Enum<StreamFormat>
Data format of a trace.
TraceConfig
Link copied to clipboard
data class TraceConfig(recordMode: String?, enableSampling: Boolean?, enableSystrace: Boolean?, enableArgumentFilter: Boolean?, includedCategories: List<String>?, excludedCategories: List<String>?, syntheticDelays: List<String>?, memoryDumpConfig: MemoryDumpConfig?)
TracingCompleteEvent
Link copied to clipboard
data class TracingCompleteEvent(dataLossOccurred: Boolean, stream: StreamHandle?, traceFormat: StreamFormat?, streamCompression: StreamCompression?) : Event
Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.
TracingDomain
Link copied to clipboard
class TracingDomain : Domain
TracingDomain represents Tracing protocol domain request/response operations and events that can be captured.